package cn.redragon.soa.common.dto;


import cn.redragon.soa.common.brand.Brand;
import com.fasterxml.jackson.annotation.JsonIgnore;
import java.io.Serializable;
import lombok.Data;

@Data
public class SignedRequestDTO implements Serializable {

    private static final long serialVersionUID = 7635010215432128282L;
    private Long timestamp;
    private String nonce;
    private String signature;
    /**
     * all json ignored fields are used as control params, they are hidden from payload
     */
    @JsonIgnore
    private String aesKey;
    @JsonIgnore
    private String profile;
    @JsonIgnore
    private Brand brand;
    @JsonIgnore
    private String method;
    @JsonIgnore
    private Boolean bypassTimestampNonce;
}
